package com.ray.monitor.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 描述
 *
 * @author LiaoYuXing-Ray
 * @version 1.0
 * @createDate 2024/5/23 9:17
 **/
@Data
@Configuration
public class MonitorConfig {
    @Value("${ray.monitor.CPU_THRESHOLD}")
    private Double cpuThreshold;
    @Value("${ray.monitor.MEMORY_THRESHOLD}")
    private Double memoryThreshold;

}
